﻿#pragma once
#include <string>
class Holiday
{
public:
	/// <summary>
	/// 日期，YYYY-MM-DD
	/// </summary>
	std::string Day;

	/// <summary>
	/// 名称，如：国庆节
	/// </summary>
	std::string Name;

	/// <summary>
	/// 是否调休，即是否要上班
	/// </summary>
	bool Work;

	/// <summary>
	/// 关联的节日，YYYY-MM-DD格式
	/// </summary>
	std::string Target;

	/// <summary>
	/// 初始化
	/// </summary>
	// Holiday();

	/// <summary>
	/// 初始化
	/// </summary>
	/// <param name="day">日期</param>
	/// <param name="name">名称</param>
	/// <param name="work">是否调休</param>
	/// <param name="target">关联的节日</param>
	Holiday(std::string day, std::string name, bool work, std::string target);

	std::string toString() const;
};

